<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    h1 {
      float: left;
      width: 207px;
      height: 70px;
    }
    a {
      display: inline-block;
      /* display: block; */
      width: 207px;
      height: 70px;
      /* 当设置以下样式时，虽然字体看不到了，但会占据空间 */
      /* 解决办法就是将display设置为block */
      /* font-size: 0; */
    }
  </style>
</head>
<body>
  <h1>
    <a href="">我是a标签</a>
  </h1>
</body>
</html>